package com.xiaolin.sports.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xiaolin.sports.model.SysUser;
import com.xiaolin.sports.page.Page;

public interface SysUserMapper {

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer idUser);

    int updateByPrimaryKeySelective(SysUser record);

    SysUser selectUser(@Param("userAccount")String userAccount, @Param("password")String password);
    
    List<SysUser> selectListByPage(Page page);
    
    int selectCount(@Param("userAccount")String userAccount, @Param("password")String password);
    
    int updatePwd(@Param("userAccount")String userAccount, @Param("password")String password);

    int selectCountByAcount(String userAccount);

}